﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Portal/Master/Portal.Master" AutoEventWireup="true" CodeBehind="Messages.aspx.cs" Inherits="Besture.UI.Portal.UserCenter.Messages" %>
<%@ Import Namespace="Besture.Common.Helper" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/Resource/css/member.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div class="wrap">
        <div class="main member ">
            <div class="vipbanner"></div>
            <div class="container">
                <div class="layout_side">
                    <div class="side_nav"> 
                        <cms:UserNav runat="server" ID="UserNav" />
                    </div>
                </div>
                   <div class="layout_main">
                    <div class="vipcon">
                        <div class="viptitle">站内信</div>
                        <div class="mailcon">
                            <table class="first">
                                <tr>
                                    <td width="75">标题</td>
                                    <td width="105">内容</td>
                                </tr> 
                                <asp:Repeater ID="rpStationletters" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td colspan="7">
                                                <table class="second">
                                                    <tr class="addstyle">
                                                        <td width="145" class="pad">
                                                            <%#Eval("Title") %>
                                                        </td>
                                                        <td>
                                                            <%#Eval("Content") %>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>        
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
                        <br class="clear" />
                    </div>
                </div>
                <br class="clear" />
            </div>
        </div>
        <!-- //main -->
    </div>
    <!-- //wrap -->
    <script>
        $(function () {
            $(".personinfomation table tr").each(function () {
                $(this).children("td:not(:first)").css("padding-left", "35px");
            });
            $(".edit").each(function () {
                var _this = $(this);
                _this.click(function () {

                    _this.parent().prev().children("input").removeClass("none").addClass("show").removeAttr("readonly");
                    return false;
                });
            });

            //点击窗体其他位置关闭框
            $(window).click(function (e) {
                if (!$(e.target).is(".edit")) {
                    $(".edit").parent().prev().children("input").addClass("none");
                }
            });
            $(".date_input").date_input();
        })
    </script>
</asp:Content>
